package com.daidai.apptoservice

import android.util.Log
import java.lang.RuntimeException



object MyLog{
    val isDebug = true


    @JvmStatic
    fun elog(str:String){
        if (isDebug){
            Log.e("MyLog",str)
        }
    }

    @JvmStatic
    fun info(str:String){
        if (isDebug){
            Log.e("MyLog-Info:",str)
        }
    }

    @JvmStatic
    fun debugThrow(str:String){
        if (isDebug){
            throw RuntimeException(str)
        }
    }

}